package com.ivr.cm.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 业务配置表数据VO
 * @author liugeng
 * @date 2015-12-15
 * @version 1.0
 *
 */
public class ConfigBusinessVo implements Serializable {
	
	private static final long serialVersionUID = -6492899620023011040L;
	private int id;						//业务配置表ID
	private String sp_code;				//sp号码
	private int day_limit;				//日限制
	private int month_limit;			//月限制
	private int one_shot_limit;			//单次拨打限制
	private String forbidden_province;	//屏蔽省份
	private String forbidden_city;		//屏蔽城市
	private int fee_type;				//计费类型  1 按分钟计费 2 按条计费
	private int fee_code;				//计费单价 （分）
	private String start_time;			//屏蔽开始时间
	private String end_time;			//屏蔽结束时间
	private int status;					//业务状态  0 无效状态  1 有效状态
	private Date add_date;				//创建时间
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSp_code() {
		return sp_code;
	}
	public void setSp_code(String sp_code) {
		this.sp_code = sp_code;
	}
	public int getDay_limit() {
		return day_limit;
	}
	public void setDay_limit(int day_limit) {
		this.day_limit = day_limit;
	}
	public int getMonth_limit() {
		return month_limit;
	}
	public void setMonth_limit(int month_limit) {
		this.month_limit = month_limit;
	}
	public int getOne_shot_limit() {
		return one_shot_limit;
	}
	public void setOne_shot_limit(int one_shot_limit) {
		this.one_shot_limit = one_shot_limit;
	}
	public String getForbidden_province() {
		return forbidden_province;
	}
	public void setForbidden_province(String forbidden_province) {
		this.forbidden_province = forbidden_province;
	}
	public String getForbidden_city() {
		return forbidden_city;
	}
	public void setForbidden_city(String forbidden_city) {
		this.forbidden_city = forbidden_city;
	}
	public int getFee_type() {
		return fee_type;
	}
	public void setFee_type(int fee_type) {
		this.fee_type = fee_type;
	}
	public int getFee_code() {
		return fee_code;
	}
	public void setFee_code(int fee_code) {
		this.fee_code = fee_code;
	}
	public String getStart_time() {
		return start_time;
	}
	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}
	public String getEnd_time() {
		return end_time;
	}
	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}
	public Date getAdd_date() {
		return add_date;
	}
	public void setAdd_date(Date add_date) {
		this.add_date = add_date;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return String.format("PlatConfigVo sp_code=%s day_limit=%d month_limit=%d one_shot_limit=%d forbidden_province=%s forbidden_city=%s fee_type=%d fee_code=%d  add_date=%tF"+" %tT status=%d", sp_code,day_limit,month_limit,one_shot_limit,forbidden_province,forbidden_city, fee_type, fee_code, add_date, add_date, status);
	}
}
